function [ val ] = feature_maxmean_ratio(data, header, range, input_channels)

sort_data = sort(data(range(1):range(2), input_channels), 1);
max_data = sort_data(round((range(2)-range(1))*9/10):end,:);
m = mean(max_data,1)-min(max_data,[],1);
val = [];
for i=1:length(m)-1
    val = [val m(i+1:end)./m(i)];
end

end